<div class="jobs form">
<?php echo $this->Form->create('Job');?>
	<fieldset>
		<legend><?php __('Edit Job'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('name');
		    
    echo $this->Form->input('JobAltName.id');
    echo $this->Form->input('JobAltName.name', array('label'=>'Alternate Job Name',
                                                     // Removes 'required' css:
                                                     'div' => 'override_required'));
    echo $this->Form->input('dir_name', array('label'=>'Job Directory Name'));
		echo $this->Form->input('dir_abs_path', array('label'=>'Absolute path to Job Directory'));
    
    echo $this->Form->input('Description.id');
    echo $this->Form->input('Description.content', array('label'=>'Job Description',
                                                          // Removes 'required' css:
                                                          'div' => 'override_required'));
		//echo $this->Form->input('Tag.name');
    echo $this->Form->input('tags'); // not working right yet.
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('Job.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Job.id'))); ?></li>
		<li><?php echo $this->Html->link(__('List Jobs', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('List Statuses', true), array('controller' => 'statuses', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Status', true), array('controller' => 'statuses', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Authors', true), array('controller' => 'authors', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Author', true), array('controller' => 'authors', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Job Types', true), array('controller' => 'job_types', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Job Type', true), array('controller' => 'job_types', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Descriptions', true), array('controller' => 'descriptions', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Description', true), array('controller' => 'descriptions', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Job Alt Names', true), array('controller' => 'job_alt_names', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Job Alt Name', true), array('controller' => 'job_alt_names', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Param Fdks', true), array('controller' => 'param_fdks', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Param Fdk', true), array('controller' => 'param_fdks', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Param Sirts', true), array('controller' => 'param_sirts', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Param Sirt', true), array('controller' => 'param_sirts', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Cuda Jobs', true), array('controller' => 'cuda_jobs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Cuda Job', true), array('controller' => 'cuda_jobs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Tags', true), array('controller' => 'tags', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tag', true), array('controller' => 'tags', 'action' => 'add')); ?> </li>
	</ul>
</div>